package com.zt.english.fragment

import android.os.Bundle
import android.view.View
import com.zt.english.R
import com.zt.mvvm.view.BaseFragmentA

class DiscoverFragment :BaseFragmentA() {
    override fun setLayoutResId(): Int = R.layout.fragment_discover

    override fun initView(rootView: View?, savedInstanceState: Bundle?) {

    }
    companion object{
        private var instance : DiscoverFragment? = null
            get() {
                if(field==null){
                    field = DiscoverFragment()
                }
                return field
            }
        @Synchronized
        fun getFragmentInstance(): DiscoverFragment {
            return instance!!
        }
    }
}